//
//  IWTemp2Ctll.m
//  SINA
//
//  Created by 王相超 on 16/3/28.
//  Copyright © 2016年 chuanzhi. All rights reserved.
//

#import "IWTemp2Ctll.h"
#import "IWTemp3Ctrl.h"

@interface IWTemp2Ctll ()

@end

@implementation IWTemp2Ctll

- (void)viewDidLoad {
    [super viewDidLoad];
   
    self.title = @"第二个控制器";
    
    self.view.backgroundColor = [UIColor greenColor];
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    
    IWTemp3Ctrl *vc = [IWTemp3Ctrl new];
    
    [self.navigationController pushViewController:vc animated:YES];
    
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
